<?php
include_once 'dbconnect.php';
if ($_REQUEST) {
    $reg_pass = $_REQUEST['regpass'];
    if ($reg_pass == "") {
        echo '<div id="passw_error">Kötelező kitölteni</div>';
    } else {
        echo '<div id="passw_success"></div>';
    }
}
?>